/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package debugging;

import javax.swing.JOptionPane;

/**
 *
 * @author Flaco
 */
public class Debugging {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        int nota[] = new int[10];// TODO code application logic here
        String nombre[] = new String[10];
        cargarNombres(nombre);
        cargarNotas(nota);
        mostrarResultados(nombre, nota);
        System.out.println("Fin del Programa!");
    }
    public static void cargarNombres(String nom[]){
        for (int i = 0; i < nom.length; i++) {
            nom[i] = "Nombre " + Integer.toString(i);
            
        }
    }
    public static void cargarNotas(int n[]){
        for (int i = 0; i < n.length; i++) {
            n[i] = i;
            
        }
    }
    public static void mostrarResultados(String nom[], int n[]){
        for (int i = 0; i < n.length; i++) {
            System.out.println(nom[i] + " -> " + Integer.toString(n[i]));
            
        }
    }
}
